<?$tipo = $_GET['tipo'];

include ("../conectarse.php");
$consultatickets = "select * from prestamos where prestamos.pres_estado like '1'";
$resultadotickets = mysql_query($consultatickets);
$cantidadtickets = mysql_num_rows($resultadotickets);
?><body link = "white" alink = "white" vlink = "white" text = "white">
<center><table width = "500" height = "100%" BORDER = "0" cellspacing = "0" cellpadding = "0" valign = "top" background = "fondotexto2.png"><tr><td><table height = "100%" width = "100%">


<tr><td align = "center"   background = "fondotexto.png" >
<hr><CENTER><B>CARPETAS<hr>
</td></tr>
<tr valign = "top" height = "100%"><td>

<table cellspacing = "0" cellpadding = "0" border = "1" width = "100%"><tr><tD>

<table width = "100%"><tr><td align = "center">
<center>&nbsp;</center>
<hr>







<TABLE width = "100%" border = "0" cellspacing = "0" cellpadding = "0"><TR  background = "fondotexto.png" bgcolor = "white">
<TD align = "left" width="150"><B>FECHA</B></TD>

<TD align = "left" width = "150"><B>IMPORTE</B></TD>

<TD align = "left"><B>MUTUAL</B></TD>








</td></tr>
<TR><TD COLSPAN = "3"><HR></TD></TR>

<?while($filatickets = mysql_fetch_array($resultadotickets)){?>
<tr background  ="fondotexto2.png">
<td><a href = "acepta1.php?id=<?echo $filatickets['pres_id'];?>" style = "text-decoration:none;"><font color = "#212121"><b><?echo substr($filatickets['pres_fecha_alta'],6,2)."-".substr($filatickets['pres_fecha_alta'],4,2)."-".substr($filatickets['pres_fecha_alta'],0,4);?></b></td>

<td><font color = "#414141"><b><?echo substr($filatickets['pres_importe'],0,20);?></td>

<td><font color = "#414141"><b><?echo $filatickets['mut_nombre'];?></td>

</tr>
<?}?>
</table>






























</td></tr></table>
</b></font></FORM><FORM ACTION = "index.php">
<BR><CENTER><INPUT TYPE = "SUBMIT" VALUE = "CERRAR"></CENTER>
</td></tr></table></td></tr></table>